package com.ch.sys.model;

import com.ch.fastbuilder.common.GenerationType;
import com.ch.fastbuilder.model.Model;

public class EmployeeRole extends Model {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	public static String TABLE = "employee_role";
	public static String ID = "id";
	public static String EMPLOYEE_ID = "employee_id";
	public static String ROLE_ID = "role_id";
	public static String CREATED = "created";
	
	public EmployeeRole() {
		super.setPrimaryKey(ID);
		super.setTableName(TABLE);
		//super.setGenerationType(GenerationType.UUID);
		super.setGenerationType(GenerationType.IDENTITY);
		super.setColumns(ID, EMPLOYEE_ID, ROLE_ID, CREATED);
	}
}
